﻿{template 'common/header-base'}
<form class="form-horizontal" action="" method="post">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">门店信息设置</h3>
        </div>
            <div class="form-group" style="margin-top: 10px;">
                <label for="" class="control-label col-sm-2" style="margin-right:45px;">门店名称</label>
                <div class="form-controls col-sm-5">
                     <input type="text" name="md_name" id="md_name" value="{$item['md_name']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="" autocomplete="off">
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block">门店名称</div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">门店宣传图</label>
                <div class="form-controls col-sm-5">
                     {php echo tpl_form_field_multi_image('md_thumb', $item['md_thumb'])}
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block">（建议尺寸658x351）</div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">门店简介内容</label>
                <div class="form-controls col-sm-5">
                    {php echo tpl_ueditor('md_content', $item['md_content']);}
                    
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block">门店简介内容</div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">门店地址</label>
                <div class="form-controls col-sm-5">
                    <input type="text" name="md_address" id="md_address" value="{$item['md_address']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="" autocomplete="off">
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block">门店地址</div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">门店地址经纬度 <span style="color: #c00">误填反</span></label>
                <div class="form-controls col-sm-2">
                    <input type="text" name="latitude" id="latitude" value="{$item['latitude']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="" autocomplete="off">
                </div>
                <div class="form-controls col-sm-2 help-block" style="padding-left: 15px">纬度:30.88888</div>
                <div class="form-controls col-sm-2">
                    <input type="text" name="longitude" id="longitude" value="{$item['longitude']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="" autocomplete="off">
                </div>
                <div class="form-controls col-sm-3 help-block" style="padding-left: 15px">经度:120.6666 <a href="http://lbs.qq.com/tool/getpoint/" target="_blank" style="color:#428BCA"> 经纬度查询</a></div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">门店联系电话</label>
                <div class="form-controls col-sm-5">
                     <input type="text" name="md_telphone" id="md_telphone" value="{$item['md_telphone']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="" autocomplete="off">
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block">门店联系电话</div>
            </div>

            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">个人主页背景图</label>
                <div class="form-controls col-sm-5">
                    {php echo tpl_form_field_image('gr_thumb', $item['gr_thumb'])}
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block">个人主页背景图</div>
            </div>
            
    <div class="form-group">
        <div class="col-sm-12" style="margin-left: 200px;">
            <input name="token" type="hidden" value="{$_W['token']}" />
            <input type="submit" class="btn btn-primary col-lg-1" name="submit" value="提交" />
        </div>
    </div>
</form>
{/if}
